import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { PaymentPasswordPage } from './payment-password.page';
import { PaymentPasswordResolver } from './payment-password-resolver.service';
const routes: Routes = [
  {
    path: '',
    component: PaymentPasswordPage,
    resolve: {
      data:PaymentPasswordResolver
    }
  },
  {
    path: 'password-reset',
    loadChildren: () => import('./password-reset/password-reset.module').then( m => m.PasswordResetPageModule)
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: [
    PaymentPasswordResolver
  ]
})
export class PaymentPasswordPageRoutingModule {}
